/*
 * AacRtpPacker.h
 *
 *  Created on: 2018年4月21日
 *      Author: chuanjiang.zh@qq.com
 */

#ifndef AACRTPPACKER_H_
#define AACRTPPACKER_H_

#include "RtpPacker.h"
#include "ByteBuffer.h"

namespace av
{

class AacRtpPacker: public RtpPacker
{
public:
	AacRtpPacker();
	virtual ~AacRtpPacker();

	virtual bool open();

	virtual void pack(const MediaPacket& pkt, int maxSize, RtpPackerSink sink);

	virtual void close();

protected:
	ByteBuffer	m_buffer;

};

} /* namespace av */

#endif /* AACRTPPACKER_H_ */
